<?php

use App\Models\Device;
use Illuminate\Database\Seeder;

class DeviceTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        if(env('APP_ENV') == 'local'){
            Device::create([
                'code' => 'heting01',
            ]);

            Device::create([
                'code' => 'heting02',
            ]);

            Device::create([
                'code' => '2016100800000001',
            ]);

            Device::create([
                'code' => '2117040800000004',
            ]);
        }
    }
}
